﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Dto.WeChat
{
    /// <summary>
    /// 通过分类标识获取资讯列表传出参数
    /// </summary>
    public class GetByCategoryIdToNewsDto 
    {
        /// <summary>
        /// 
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 文章标题
        /// </summary>
        public string ArticleTitle { get; set; }

        /// <summary>
        /// 资讯封面
        /// </summary>
        public string Cover { get; set; }

        /// <summary>
        /// 分享摘要
        /// </summary>
        public string ShareSummary { get; set; }

        /// <summary>
        /// 阅读量
        /// </summary>
        public int ReadingCount { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateTime { get; set; }
    }

    /// <summary>
    /// 获取咨询详情传出参数
    /// </summary>
    public class GetInformationByIdDto
    {
        /// <summary>
        /// 
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 文章标题
        /// </summary>
        public string ArticleTitle { get; set; }

        /// <summary>
        /// 资讯封面
        /// </summary>
        public string Cover { get; set; }

        /// <summary>
        /// 分享摘要
        /// </summary>
        public string ShareSummary { get; set; }

        /// <summary>
        /// 文章内容
        /// </summary>
        public string ArticleContent { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateTime { get; set; }

        /// <summary>
        /// 推荐咨询
        /// </summary>
        public List<RecommendInformation> RecommendInformations { get; set; }

        /// <summary>
        /// 阅读量
        /// </summary>
        public int ReadingCount { get; set; }
    }

    /// <summary>
    /// 推荐咨询
    /// </summary>
    public class RecommendInformation
    {
        /// <summary>
        /// 
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 文章标题
        /// </summary>
        public string ArticleTitle { get; set; }

        /// <summary>
        /// 资讯封面
        /// </summary>
        public string Cover { get; set; }

        /// <summary>
        /// 阅读量
        /// </summary>
        public int ReadingCount { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateTime { get; set; }
    }
}
